<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册页面</title>
</head>
<body>
<h2 align="center">用户注册</h2>
<div align="center">
    <form action="${pageContext.request.contextPath}/user/register.do" method="post">
        <p><input type="text" name="username" placeholder="账户" required></p>
        <p><input type="text" name="password" placeholder="密码" required></p>
        <p><input type="text" name="name" placeholder="名称"></p>
        <p><input type="text" name="age" placeholder="年龄"></p>
        <p><input type="text" name="address" placeholder="地址"></p>
        <p>
            <input type="submit" value="注册">
            <input type="button" value="返回" onclick="history.back(-1)">
        </p>
    </form>
</div>

</body>
</html>
